import { post, get, patch, put, deletefn,postByFormData } from '../common/http'
const add  =p =>post("/apiTestGroup/add",p);
const list =p =>get("/apiTestGroup/list",p);
const addCase =p =>post("/apiTestGroup/addCaseToGroup",p);
const deleteCase =p =>deletefn("/apiTestGroup/deleteCase",p);
const run =p =>postByFormData("/apiTestGroup/run",p);
const caseList=p =>get ("/apiTestGroup/caseList",p)
export default {
    add,
    addCase,
    deleteCase,
    list,
    run,
    caseList
}
